package com.iwe3.operation.Enum;

import com.iwe3.operation.common.IErrorCode;
import lombok.Getter;

@Getter
public enum SystemEnum implements IErrorCode {
    OK(200,"操作成功"),
    SYSTEM_BUSY(10000,"系统繁忙，请稍后重试！"),
    ERROR(10001,"系统错误，请联系客服！"),
    ILLEGAL(10002,"非法访问！"),
    LOGIN_ERROR(10003,"登录名或密码错误！"),
    RELOGIN(10004,"重新登录！"),
    RESUBMIT(10005,"请勿重复提交！"),
    NO_POWER_ACCESS(10006,"无权限访问后端接口，请先登录！");

    private Integer code;
    private String msg;
    SystemEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
